package com.gency.subscribe.model.system;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * <p>
 * 
 * </p>
 *
 * @author 马行空
 * @since 2018-06-12
 */
@TableName("sys_depart")
public class Depart extends Model<Depart> {
	 /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/**
     * 数据编号
     */
	private Long id;
    /**
     * 部门名称
     */
	private String name;
    /**
     * 联系电话
     */
	private String tel;
    /**
     * 创建时间
     */
	private Date create_time;
    /**
     * 类别名称
     */
	private String type_name;
    /**
     * 类别
     */
	private Long type;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public String getType_name() {
		return type_name;
	}

	public void setType_name(String type_name) {
		this.type_name = type_name;
	}

	public Long getType() {
		return type;
	}

	public void setType(Long type) {
		this.type = type;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Depart{" +
			"id=" + id +
			", name=" + name +
			", tel=" + tel +
			", create_time=" + create_time +
			", type_name=" + type_name +
			", type=" + type +
			"}";
	}
}
